<script src="<?php echo base_url(); ?>assets/js/jheader.js" type="text/javascript"></script>
<div id="main-content-wrap">
	<form method="POST" name="upgrade_form" id="upgrade_form">
	<?php
		$prodhtml = '';
		$prodhtml .= '<h2 id="commercial-d">Membership Details</h2>';
		$prodhtml .= '<input type="hidden" name="prodid" value="'.$product_details->productid.'" />';
		$prodhtml .= '<input type="hidden" name="itemname" value="'.$product_details->name.'" />';
		$prodhtml .= '<input type="hidden" name="itemdesc" value="'.$product_details->description.'" />';
		$prodhtml .= '<input type="hidden" name="itemprice" value="'.$product_details->price.'" />';
		$prodhtml .= '<p>';
		$prodhtml .= '<ul style="display: block;margin-left: 26px;">';
		$prodhtml .= '<li class="m-prod"><p><input type="radio" checked="checked" class="product-list"/>';
		$prodhtml .= '<span id="prod-name">'.$product_details->name.'</span></p>';
		$prodhtml .= '<p style="margin-left: 21px;">'.$product_details->description.'</p>';
		$prodhtml .= '<p style="margin-left: 21px;">Price: <span id="prod-price-f">'.$this->config->item('currency_symbol').'</span><span id="prod-price">'.number_format($product_details->price, 2).'</span></p><input type="hidden" id="origvipprice" value="'.$product_details->price.'" /></li>';
		$prodhtml .= '<li class="m-prod"><p>';
		$prodhtml .= '<label id="l-packcode" style="vertical-align: top;margin-left:4px!important;">Enter Package Code: </label>';
		$prodhtml .= '<img src="'.base_url().'assets/images/signup/icon-question.png" id="help-icon" /><div id="d-help-wrap"><div id="d-help">If you have purchased your account from a reseller, please enter your package code and click OK.</div></div>';
		$prodhtml .= '<input type="text" name="package_code" id="i-packcode" value=""  /><a href="#" id="a-ok"><u>OK</u></a>';
		$prodhtml .= '</p>';
		$prodhtml .= '<p class="note def" id="de-pack" style="position: relative;left: 5px;top: 10px;"><img src="'.base_url().'assets/images/check.png" />The amount has been modifed.<br>Reseller: <font id="reseller-name">Lala</font></p>';
		$prodhtml .= '<p class="note error" id="er-pack" style="position: relative;left: 5px;top: 10px;">Invalid Package Code!</p>';
		$prodhtml .= '</li>';
		$prodhtml .= '</ul>';
		$prodhtml .= '</p>';
		echo $prodhtml;
	?>
	<div class="clear"></div>
	<div class="proceed-checkout-btn" style="padding: 25px 0px 0px 0px;margin-left: 166px;" id="upgrade-checkout-pay">
		<div class="button-left-bg"></div>
		<div class="button-mid-bg upgrade-btn-txt">
			<div class="btn-text-p" id="btn-text-pay">
				Proceed to checkout
			</div>
		</div>
		<div class="button-right-bg"></div>
		<div class="clear"></div>
	</div>
	<div class="proceed-checkout-btn" style="padding: 25px 0px 0px 0px;margin-left: 166px;display:none" id="upgrade-checkout-okay">
		<div class="button-left-bg"></div>
		<div class="button-mid-bg upgrade-btn-txt">
			<div class="btn-text-p" id="btn-text-pay">
				Okay!
			</div>
		</div>
		<div class="button-right-bg"></div>
		<div class="clear"></div>
	</div>
	<input type="hidden" name="real_userid" value="<?php echo $real_userid ?>" />
	</form>
</div>